<!-- 引入头部 -->
<include file="header" />
<link rel="stylesheet" href="__PUBLIC__/css/admin/index.css">
<script type="application/javascript" src="__PUBLIC__/js/home/index.js"></script>
<script type="application/javascript" src="__PUBLIC__/js/common/common.js"></script>
<style type="text/css">
body {
    font-size: 13px;
}


</style>

<body>


<div class="container-fluid">

<!-- 首先屏幕分为2列 -->
<div class="row">
<!--    左则的菜单栏 -->
   <include file="left" />

    <!-- 如果是中大屏幕则分为2列，在小屏幕就显示一列 -->
    <div class="col-md-10 col-sm-10 col-xs-12">
        <div class="panel panel-default">
          <div class="panel-heading" style="height:40px;">
              <div class="row">
                  <div class="col-sm-3 col-md-3 col-xs-3 my-breadcrumb"><span class="">文章分类 > 列表</span></div>
                  <div class="col-lg-3 col-sm-4 col-md-4 col-xs-4 col-sm-offset-5 col-md-offset-5 col-lg-offset-6 col-xs-offset-5">
                      <a class="btn btn-info active " style="padding:4px 8px;" href="{:U('Home/Index/addArtType')}">
                        新增文章分类
                      </a>
                      &nbsp;&nbsp;
                      <a class="btn btn-default" style="padding:4px 8px;"
                         onclick="delAll('{:U('Home/Index/delAllArtType')}', '确实要删除全部的分类吗?')" href="#">
                        删除全部
                      </a>
                  </div>
              </div>
          </div>
        </div>


        <div class="main-content">

            <table class="table table-striped table-bordered table-hover table-condensed">
              <thead>
                <tr class="info">
                  <td>序号</td>
                  <td>编号</td>
                  <td>名称</td>
                  <td>操作</td>
                </tr>
              </thead>
              <tbody>
                <volist name="list" id="vo">
                   <tr>
                    <td>{$vo.id}</td>
                    <td>{$vo.type_no}</td>
                    <td>{$vo.type_name}</td>
                    <td>
                        <a href="{:U('Admin/Index/addArtType', array('id' => $vo['id']))}">修改</a>
                        ｜
                        <a href="{:U('Admin/Index/delArtType', array('id' => $vo['id']))}">删除</a>
                    </td>
                    </tr>
                </volist>
              </tbody>
            </table>

            <div class="container">
                <div class="pagination pull-right" style="margin-right:160px;">
                  <ul>
                    <li class="previous">
                      <a href="#" class="fui-arrow-left"></a>
                    </li>

                    <!-- Make dropdown appear above pagination -->
                    <li class="pagination-dropdown dropup">
                      <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                        <i class="fui-triangle-up"></i>
                      </a>
                      <!-- Dropdown menu -->
                      <ul class="dropdown-menu">

                        <li>
                          <a href="#">10-20</a>
                        </li>
                      </ul>
                    </li>

                    <li class="next">
                      <a href="#" class="fui-arrow-right"></a>
                    </li>
                  </ul>
                </div>
            </div>

        </div> <!-- main-content -->
</div>

</div>  <!-- /row -->

</div> <!-- /container -->

</body>

<!-- 引入尾部 -->
<include file="footer" />
